<template>
  <h1>布局组件</h1>
  <el-row :gutter="20">
    <el-col :span="8" style="border: 5px solid #00FF00;">111</el-col>
    <el-col :span="8" style="border: 5px solid #0000ff;">111</el-col>
    <el-col :span="8" style="border: 5px solid #ffff00;">111</el-col>
  </el-row>
  <el-row :gutter="40">
    <el-col :span="12"><img src="imgs/rich.jpg" style="width: 100%"></el-col>
    <el-col :span="12"><img src="imgs/rich.jpg" style="width: 100%"></el-col>
  </el-row>
  <el-row>
    <el-col :span="4" v-for="i in 6">
    <img src="imgs/mwzz.png" style="width: 100%">
    </el-col>
  </el-row>
  <el-row>
    <el-col :span="4"><img src="imgs/mwzz.png" style="width: 100%"></el-col>
    <el-col :span="8"><img src="imgs/mwzz.png" style="width: 100%"></el-col>
    <el-col :span="12"><img src="imgs/mwzz.png" style="width: 100%"></el-col>
  </el-row>

  <el-row>
    <el-col :span="3" v-for="i in 8">
        {{i}}
    </el-col>
  </el-row>

  <h3>列偏移</h3>
  <el-row>
    <el-col :span="20" :offset="4">
      <img src="imgs/mwzz.png" style="width: 100%">
    </el-col>
  </el-row>

  <h3>列嵌套</h3>
  <el-row>
    <el-col :span="12" style="border: 3px solid deeppink">111</el-col>
    <el-col :span="12" style="border: 3px solid greenyellow">
      <el-row>
        <el-col :span="8" style="border: 3px solid blue">111</el-col>
        <el-col :span="8" style="border: 3px solid yellow">111</el-col>
        <el-col :span="8" style="border: 3px solid red">111</el-col>
      </el-row>
    </el-col>
  </el-row>
  <hr>
  <h2>我的主页</h2>
  <el-row :gutter="20">
    <el-col :span="8" style="border: 2px solid pink" >
      <el-menu>
        <el-menu-item index="1">首页</el-menu-item>
        <el-menu-item index="2">星期一</el-menu-item>
        <el-menu-item index="3">星期二</el-menu-item>
        <el-menu-item index="4">星期三</el-menu-item>
        <el-menu-item index="4">星期四</el-menu-item>
      </el-menu>
    </el-col>
    <el-col :span="16" style="border: 2px solid yellow">
      <el-row :gutter="20">
        <el-col :span="8"><img src="imgs/mwzz.png" style="width: 100%"></el-col>
        <el-col :span="8"><img src="imgs/mwzz.png" style="width: 100%"></el-col>
        <el-col :span="8"><img src="imgs/mwzz.png" style="width: 100%"></el-col>
      </el-row>
    </el-col>
  </el-row>
</template>

<script setup>

</script>

<style scoped>

</style>